﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Site2.master" AutoEventWireup="true"
    CodeBehind="AddMasterDetailsData.aspx.cs" Inherits="CDOP.AddMasterDetailsData"
    ViewStateMode="Enabled" %>

<%@ Register Src="UserControls/UCBasicInformation.ascx" TagName="UCBasicInformation"
    TagPrefix="uc1" %>
<%@ Register Src="UserControls/UCPanelReview.ascx" TagName="UCPanelReview" TagPrefix="uc2" %>
<%@ Register Src="UserControls/UCOtherAgencies.ascx" TagName="UCOtherAgencies" TagPrefix="uc3" %>
<%@ Register Src="UserControls/UCMedicalHistory.ascx" TagName="UCMedicalHistory"
    TagPrefix="uc4" %>
<%@ Register Src="UserControls/UCProcessingofDeath.ascx" TagName="UCProcessingofDeath"
    TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:Button ID="btnExportExcel" runat="server" Text="Export to excel report" OnClick="BtnExportExcelClick"
            Enabled="false" />
        <asp:Panel ID="pnlBasicInfo" runat="server" BackColor="#CCCCFF" BorderColor="#333333"
            BorderStyle="Double">
            <br />
            <h1>
                Basic Information</h1>
            <br />
            <uc1:UCBasicInformation ID="UCBasicInformation" runat="server" />
            <br />
        </asp:Panel>
        <asp:Panel ID="pnlBasicInfoNavigation" runat="server">
            <asp:Button ID="btnBasicInfoNext" runat="server" ValidationGroup="vgBasicInfo" Text="Next"
                OnClick="BtnBasicInfoNextClick" />
        </asp:Panel>
        <asp:Panel ID="pnlPanelReview" Visible="false" runat="server" BackColor="#CCCCFF">
            <br />
            <h1>
                Panel Review</h1>
            <br />
            <uc2:UCPanelReview ID="UCPanelReview" runat="server" />
            <br />
        </asp:Panel>
        <asp:Panel ID="pnlReviewNavigation" Visible="false" runat="server">
            <asp:Button ID="btnPanelReviewPrevious" runat="server" Text="Previous" OnClick="BtnPanelReviewPreviousClick" />
            <asp:Button ID="btnPanelReviewNext" runat="server" Text="Next" OnClick="BtnPanelReviewNextClick" />
        </asp:Panel>
        <asp:Panel ID="pnlOtherAgencies" Visible="false" runat="server" BackColor="#CCCCFF">
            <br />
            <h1>
                Other Agencies</h1>
            <br />
            <uc3:UCOtherAgencies ID="UCOtherAgencies" runat="server" />
            <br />
        </asp:Panel>
        <asp:Panel ID="pnlOtherAgenciewNavigation" Visible="false" runat="server">
            <asp:Button ID="btnOtherAgenciesPrevious" runat="server" Text="Previous" OnClick="BtnOtherAgenciesPreviousClick" />
            <asp:Button ID="btnOtherAgenciesNext" runat="server" Text="Next" OnClick="BtnOtherAgenciesNextClick" />
        </asp:Panel>
        <asp:Panel ID="pnlMedicalHistory" Visible="false" runat="server" BackColor="#CCCCFF">
            <br />
            <h1>
                Medical History</h1>
            <br />
            <uc4:UCMedicalHistory ID="UCMedicalHistory" runat="server" />
            <br />
        </asp:Panel>
        <asp:Panel ID="pnlMedicalHistoryNavigation" Visible="false" runat="server">
            <asp:Button ID="btnMedicalHistoryPrevious" runat="server" Text="Previous" OnClick="BtnMedicalHistoryPreviousClick" />
            <asp:Button ID="btnMedicalHistoryNext" runat="server" Text="Next" OnClick="BtnMedicalHistoryNextClick" />
        </asp:Panel>
        <asp:Panel ID="pnlProcessingofDeath" Visible="false" runat="server" BackColor="#CCCCFF">
            <br />
            <h1>
                Processing of Death</h1>
            <br />
            <uc5:UCProcessingofDeath ID="UCProcessingofDeath" runat="server" />
            <br />
        </asp:Panel>
        <asp:Panel ID="pnlProcessingDeathNavigation" Visible="false" runat="server">
            <asp:Button ID="btnProcessingofDeathPrevious" runat="server" Text="Previous" OnClick="BtnProcessingofDeathPreviousClick" />
        </asp:Panel>
        <br />
        <hr />
        <div>
            <asp:LinkButton ID="lnkBtnToBasicInfo" runat="server" Visible="false" OnClick="LnkBtnToBasicInfoClick">To Basic Information</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lnkBtnToPanelReview" runat="server" OnClick="LnkBtnToPanelReviewClick">To Panel Review</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lnkBtnToOtherAgencies" runat="server" OnClick="LnkBtnToOtherAgenciesClick">To Other Agencies</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lnkBtnToMedicalHistory" runat="server" OnClick="LnkBtnToMedicalHistoryClick">To Medical History</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lnkBtnToProcessingofDeath" runat="server" OnClick="LnkBtnToProcessingofDeathClick">To Processing of Death</asp:LinkButton>
        </div>
    </div>
    <br />
    <hr />
    <br />
    <asp:Button ID="btnSave" runat="server" Text="Submit" OnClick="BtnSaveClick" />
    <%--<asp:Button ID="Button1" runat="server" OnClientClick="document.forms[0].reset();return false;" Text="Reset All" />--%>
    <br />
    <hr />
    <br />
    <asp:Label ID="lblMessage" runat="server"></asp:Label>
    <br />
    <input type="hidden" id="hdnCurrentpanel" runat="server" value="BasicInfo" />
</asp:Content>
